package com.wenwei.bean;

import java.util.List;

/**
 * Created by nidalee on 2017/9/30.
 */

public class ParkListBean {


    /**
     * timestamp : 1506753877379
     * code : 200
     * message : data success
     * path : http://localhost:6060/app/getParkCar4parkAdmin
     * method : GET
     * total : 9
     * total_page : 1
     * now_page : 0
     * page_size : 0
     * per_total : 0
     * start_num : 1
     * per_page : 10
     * data : [{"latitude":"30.57724","id":2,"deviceCode":"gdfgdkrghiurog","state":0,"parkCarNum":"cd0280002","parkId":1,"longitude":"104.075415"},{"latitude":"30.564803","id":3,"deviceCode":"dfgkhfilfiufgbvjug","state":0,"parkCarNum":"cd0280003","parkId":1,"longitude":"104.058239"},{"latitude":"30.559641","id":4,"deviceCode":"fhrghighrguireofiug","state":0,"parkCarNum":"cd0280004","parkId":1,"longitude":"104.070241"},{"latitude":"30.583148","id":5,"deviceCode":"hdiuhfuirbdjkgbdiu","state":0,"parkCarNum":"cd0280005","parkId":1,"longitude":"104.05055"},{"latitude":"30.588246","id":7,"deviceCode":"sdfgsjfeufsfioig","state":0,"parkCarNum":"cd0280007","parkId":1,"longitude":"104.07369"},{"latitude":"38.441047465","id":14,"deviceCode":"hqzx485120","state":0,"parkCarNum":"hqzx4152451","parkId":1,"longitude":"103.454164897"},{"latitude":"30.574827","id":34,"deviceCode":"hqzx41652","state":0,"parkCarNum":"hqzx8452","parkId":1,"longitude":"104.06932"},{"latitude":"30.581771","id":1,"deviceCode":"fgrfkjgfuskfguy","state":2,"parkCarNum":"cd0280001","parkId":1,"longitude":"104.070718"},{"latitude":"30.602111","id":6,"deviceCode":"hdiuhfuirbdjkgbdiu","state":2,"parkCarNum":"cd0280006","parkId":1,"longitude":"104.071678"}]
     */

    private long timestamp;
    private int code;
    private String message;
    private String path;
    private String method;
    private int total;
    private int total_page;
    private int now_page;
    private int page_size;
    private int per_total;
    private int start_num;
    private int per_page;
    private List<DataBean> data;

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getTotal_page() {
        return total_page;
    }

    public void setTotal_page(int total_page) {
        this.total_page = total_page;
    }

    public int getNow_page() {
        return now_page;
    }

    public void setNow_page(int now_page) {
        this.now_page = now_page;
    }

    public int getPage_size() {
        return page_size;
    }

    public void setPage_size(int page_size) {
        this.page_size = page_size;
    }

    public int getPer_total() {
        return per_total;
    }

    public void setPer_total(int per_total) {
        this.per_total = per_total;
    }

    public int getStart_num() {
        return start_num;
    }

    public void setStart_num(int start_num) {
        this.start_num = start_num;
    }

    public int getPer_page() {
        return per_page;
    }

    public void setPer_page(int per_page) {
        this.per_page = per_page;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * latitude : 30.57724
         * id : 2
         * deviceCode : gdfgdkrghiurog
         * state : 0
         * parkCarNum : cd0280002
         * parkId : 1
         * longitude : 104.075415
         */

        private String latitude;
        private int id;
        private String deviceCode;
        private int state;
        private String parkCarNum;
        private int parkId;
        private String longitude;

        public String getLatitude() {
            return latitude;
        }

        public void setLatitude(String latitude) {
            this.latitude = latitude;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getDeviceCode() {
            return deviceCode;
        }

        public void setDeviceCode(String deviceCode) {
            this.deviceCode = deviceCode;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public String getParkCarNum() {
            return parkCarNum;
        }

        public void setParkCarNum(String parkCarNum) {
            this.parkCarNum = parkCarNum;
        }

        public int getParkId() {
            return parkId;
        }

        public void setParkId(int parkId) {
            this.parkId = parkId;
        }

        public String getLongitude() {
            return longitude;
        }

        public void setLongitude(String longitude) {
            this.longitude = longitude;
        }
    }
}
